the end of a period